// -----------------------------------------------------------------------------
// Generate By Furion Tools v1.6.0                            
// -----------------------------------------------------------------------------

using Furion.DatabaseAccessor;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using System;
using System.Collections.Generic;

#nullable disable

namespace iemtm.WeChat.Core
{
    public partial class CollectorBracket : IEntity<MasterDbContextLocator>, IEntityTypeBuilder<CollectorBracket, MasterDbContextLocator>
    {

        public int Id { get; set; }
        public string BracketCode { get; set; }
        public string DTUID { get; set; }
        public string GensetNum { get; set; }
        public string CreateCode { get; set; }
        public string CreateName { get; set; }
        public string CreatePhone { get; set; }
        public string remarkContent { get; set; }
        public string AuditPersonCode { get; set; }
        public string AuditPersonName { get; set; }
        public string AuditRemarks { get; set; }
        public DateTime? AuditTime { get; set; }
        public int? AuditState { get; set; }
        public DateTime? CreateTime { get; set; }
        public string PrjCode { get; set; }
        public int? submitCount { get; set; }
    
        public void Configure(EntityTypeBuilder<CollectorBracket> entityBuilder, DbContext dbContext, Type dbContextLocator)
        {
                entityBuilder.Property(e => e.AuditPersonCode).HasMaxLength(200);

                entityBuilder.Property(e => e.AuditPersonName).HasMaxLength(200);

                entityBuilder.Property(e => e.AuditTime).HasColumnType("datetime");

                entityBuilder.Property(e => e.BracketCode).HasMaxLength(50);

                entityBuilder.Property(e => e.CreateCode).HasMaxLength(50);

                entityBuilder.Property(e => e.CreateName).HasMaxLength(50);

                entityBuilder.Property(e => e.CreatePhone).HasMaxLength(50);

                entityBuilder.Property(e => e.CreateTime).HasColumnType("datetime");

                entityBuilder.Property(e => e.DTUID).HasMaxLength(50);

                entityBuilder.Property(e => e.GensetNum).HasMaxLength(50);

                entityBuilder.Property(e => e.PrjCode).HasMaxLength(50);

                entityBuilder.Property(e => e.remarkContent).HasMaxLength(200);
        }

    }
}

